package com.workManager.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.workManager.pojo.TbProjectTasktime;
import com.workManager.vo.CountProjectVo;
import com.workManager.vo.ProjectDetailVo;
import com.workManager.vo.ProjectDetailsVo;
import com.workManager.vo.TaskTimeTypeVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by Thinkpad on 2017/1/18 0018.
 */
public interface ProjectTasktimeService {
    void uploadExcel(String name , MultipartFile file) throws  Exception;
    PageInfo<TbProjectTasktime> queryforPage(Map<String,Object> map);
    PageInfo<CountProjectVo> countByProject(Map<String,Object> map);
    PageInfo<ProjectDetailVo> queryProjectDetails(Map<String,Object> map);
    PageInfo<CountProjectVo> countByStaff(Map<String,Object> map);
    PageInfo<CountProjectVo> countByStaffAll(Map<String,Object> map);
    Integer deleteByProjectIds(String[] projectIds);
    List<TbProjectTasktime> taskTimeChange(Map<String,Object> map);
    List<TaskTimeTypeVo> taskTimeTypeChange(Map<String,Object> map);
    List<TaskTimeTypeVo> taskTimeStaffSpread(Map<String,Object> map);
    List<TbProjectTasktime> taskTimeStaffChange(Map<String,Object> map);
    List<TaskTimeTypeVo> taskTimeTypeSpread2(Map<String,Object> map);
    List<TaskTimeTypeVo> taskTimeProjectSpread(Map<String,Object> map);

}
